<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib  prefix="jojojo"  uri="lalibreria" %>

<%
	String varea = request.getParameter("area");
	String vdepartamento = request.getParameter("departamento");
    String vusuario = request.getParameter("usuario");
%>

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>

<script language="javascript" >

	function f_submit(){
		document.forms[0].action='lol.jsp';
		document.forms[0].submit();
	}

</script>

   <td>Area:</td>
		<td>
    		<jojojo:ComboArea funcion="f_submit()" seleccion="<%=varea%>" />
		</td>	

<table>
    
 <html:form  action="mantenimientoProceso.do" method="post">
	<tr>
      
   
        <td>Departamento:</td>
        <td>
			<jojojo:ComboDepartamento
			funcion="f_submit()"
			area="<%=varea%>"
			seleccion="<%=vdepartamento%>"/> 
		</td>	
        <td>Responsable</td>
		<td>
		<jojojo:ComboUsuario/>	
		</td>
	</tr>
    <tr>
		<td>Nombre proceso</td><td> <html:text property="nombre" value="" /> </td>
		<td>Descripcion </td><td> <html:text property="descripcion" value="" /> </td>
		<td>Fecha Actualizacion </td><td> <html:text property="fecha" value="" /> </td>
        <td>
                    	
        </td>
    </tr>
 <tr>
         <td><html:multibox property="codTipoDoc">01</html:multibox></td></tr>
        <tr><td><html:multibox property="codTipoDoc">02</html:multibox></td></tr>
        <tr><td><html:multibox property="codTipoDoc">03</html:multibox></td></tr>
        <tr><td><html:multibox property="codTipoDoc">04</html:multibox></td></tr>
        <tr><td><html:multibox property="codTipoDoc">05</html:multibox></td></tr>
        <tr><td><html:multibox property="codTipoDoc">06</html:multibox></td></tr>
        
        <tr>


	 <tr>
            <td><html:submit value="Insertar" /></td>
            <td><html:reset value="Cancelar"/></td>
	 </tr>     
  </html:form>
</table>

</html>